﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace ExplorerService.Common.DataContracts
{
    /// <summary>
    /// Stores the information about the isolated storage file
    /// </summary>
    [DataContract]
    public class IsolatedStorageInformation
    {
        /// <summary>
        /// List of files in the root path
        /// </summary>
        [DataMember]
        public List<FileInformation> Files { get; set; }

        /// <summary>
        /// List of directories in the root path
        /// </summary>
        [DataMember]
        public List<DirectoryInformation> Directories { get; set; }

        /// <summary>
        /// Available space in bytes
        /// </summary>
        [DataMember]
        public long AvailableSpace { get; set; }

        /// <summary>
        /// Current quota
        /// </summary>
        [DataMember]
        public long Quota { get; set; }

    }
}